package cn.iocoder.yudao.module.pplan.controller.admin.recipemealingre.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 生产计划-餐谱菜品关联配料信息新增/修改 Request VO")
@Data
public class RecipeMealIngreSaveReqVO {

    @Schema(description = "唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "10539")
    private Long id;

    @Schema(description = "菜品信息主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "3398")
    @NotNull(message = "菜品信息主键不能为空")
    private Long receipeMealId;

    @Schema(description = "配料id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14221")
    @NotNull(message = "配料id不能为空")
    private Long productId;

    @Schema(description = "配料重量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "配料重量不能为空")
    private Integer ingredientSpec;

}